home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 477 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  963 b 

  1. Path: Milpitas01.pop.internex.net!usenet
  2. From: Artyom@kansmen.com (Art Shelest)
  3. Newsgroups: comp.std.c
  4. Subject: Re: Q: How to tell if a file is done?
  5. Date: Fri, 01 Mar 96 20:03:53 GMT
  6. Organization: Kansmen Corp.
  7. Message-ID: <4h7lc6$avi@Milpitas01.Pop.Internex.NET>
  8. References: <31350A44.41C6@quality.com>
  9. NNTP-Posting-Host: 205.158.201.203
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <31350A44.41C6@quality.com>,
  13.    Arun Jamwal <jamwal@quality.com> wrote:
  14. >Hi there,
  15. >
  16. >I have a remote process on system A transferring file, say FILEA.
  17. >Another processes on system B wants to read file FILEA as
  18. >soon as the WHOLE file has been transfered. 
  19. >
  20. >I know one can tell process B the size of the file FILEA before the
  21. >transfer and then process B does a fstat to check the size....but 
  22. >is there any other way?
  23. >
  24. If you can tell process B the file size, do so _after_ transferring the 
  25. file -- this will be indication that file is transferred.
  26.  
  27.     _Art.
  28.